<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	</body>
</html>
<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
		
			test();
			function test(){
				var a = prompt("请输入数字a");
				var b = prompt("请输入数字b");
				
				return a+b;
			}
		</script>
	</body>